import Vue from 'vue'
import Router from 'vue-router'
import Home from '../views/Home.vue'
import Students from '../views/Students.vue'
import Dormitories from '../views/Dormitories.vue'
import Allocation from '../views/Allocation.vue'

Vue.use(Router)

export default new Router({
  routes: [
    { path: '/', component: Home },
    { path: '/students', component: Students },
    { path: '/dormitories', component: Dormitories },
    { path: '/allocation', component: Allocation }
  ]
})